/**index.wxss**/
page {
  width: 100%;
  height: 100%;
}

.container {
  width: 100%;
  height: 100%;
}

.nav {
  height: 80rpx;
  width: 100%;
  box-sizing: border-box;
  overflow: hidden;
  line-height: 80rpx;
  background: #f7f7f7;
  font-size: 16px;
  white-space: nowrap;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 99;
}

.nav-item {
  width: 20%;
  display: inline-block;
  text-align: center;
  position: relative;

  .line {
    position: absolute;
    bottom: 0;
    left: 40rpx;
    height: 6rpx;
    width: 70rpx;
    background-color: #0BEDA8;
  }
}

.nav-item.active {
  font-size: 42rpx;
  color: #000;
  font-weight: 700;
}

.tab-box {
  margin: 0 20rpx;
  padding-top: 100rpx;
  height: 100%;
  box-sizing: border-box;
}

.tab-content {
  overflow-y: scroll;
}

.tab_img_item {
  width: 48%;
  height: 340rpx;
  border-radius: 10rpx;
  margin-right: 20rpx;
  margin-bottom: 20rpx;
  box-shadow: 5rpx 5rpx 0rpx #999;

  &:nth-child(2n) {
    background-color: #ccc;
    margin-right: 0rpx;
  }

  &:nth-child(2n-1) {
    background-color: #ccc;
  }
}

::-webkit-scrollbar {
  width: 0;
  height: 0;
  color: transparent;
}